package cn.itcast.webmagicDemo.service;

import cn.itcast.webmagicDemo.pojo.JobInfo;

import java.util.List;

/**
 * 定义service层接口
 */
public interface JobInfoService {
    /**
     * 保存
     * @param jobInfo
     */
    public abstract void save(JobInfo jobInfo);

    /**
     * 查询
     * @param jobInfo
     * @return
     */
    public abstract List<JobInfo> findAll(JobInfo jobInfo);
}
